package com.fire.eyes;

import com.fire.eyes.controller.EventController;
import org.apache.log4j.Logger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
 * @author Aspire
 */
@SpringBootApplication(scanBasePackages = "com",exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class})
@MapperScan(basePackages ={ "com.fire.eyes.dao","com.fire.core.dao"})
public class EyesApplication {
    private final static Logger logger = Logger.getLogger(EyesApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(EyesApplication.class, args);
        logger.info("===========Eyes Start===========");

    }
}
